Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Convert to ES6 that is supported on Node 4, commonjs modules and remove Babel #11

Closed
wants to merge 10 commits into from

Conversation

corbinu
Copy link
Contributor

@corbinu corbinu commented Feb 10, 2017

Lets try this one more time

This removes Babel, converts to commonjs modules and removes other ES6 features not supported on Node 4. I think it was all destructuring.

Updated version of #8 which removes .defaults and rebased on master

@corbinu corbinu mentioned this pull request Feb 10, 2017
Copy link
Member

@not-an-aardvark not-an-aardvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just waiting for someone else to review.

this.visitChildren(node.body);
} else {
this.visit(node.body);
if (node.body) {
Copy link
Member

@JamesHenry JamesHenry Feb 10, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code change should not be in this PR, it is being applied via #2

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry thought I had gotten that out with all my reattempts one sec

@JamesHenry
Copy link
Member

Please can you rebase this (and all your other PRs)? Merging in master is less safe than rebasing, and maintaining a messy commit history does not really make sense on small-scale PRs.

We are currently not enforcing it, but commits should be following our contributing guidelines, as with any other ESLint project.

@corbinu
Copy link
Contributor Author

corbinu commented Feb 10, 2017

@JamesHenry sure one sec

…ve Babel

Convert to ES6 that is supported on Node 4, commonjs modules and remove Babel

Remove babel task from gulpfile

Switch main to src/lib.js

Remove node body check
…ve Babel

Convert to ES6 that is supported on Node 4, commonjs modules and remove Babel

Remove babel task from gulpfile

Switch main to src/lib.js

Remove node body check

Convert to ES6 that is supported on Node 4, commonjs modules and remove Babel

Remove babel task from gulpfile

Switch main to src/lib.js

Remove node body check
@corbinu corbinu closed this Feb 10, 2017
@corbinu corbinu deleted the node-4 branch February 10, 2017 18:21
@not-an-aardvark
Copy link
Member

not-an-aardvark commented Feb 10, 2017

@corbinu In the future, may you please update an existing PR rather than closing/recreating a new PR every time a change is requested? It makes things much easier to review when all the comments are in one place.

@corbinu
Copy link
Contributor Author

corbinu commented Feb 10, 2017

@not-an-aardvark Yes I am sorry I was having trouble getting the rebase to work after mistakenly merging

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants